$OpenBSD: patch-texmf-dist_tex_latex_beamer_beamerbaseverbatim_sty,v 1.3 2016/06/01 12:47:33 edd Exp $
--- texmf-dist/tex/latex/beamer/beamerbaseverbatim.sty.origy	Tue Feb 24 23:10:28 2015
+++ texmf-dist/tex/latex/beamer/beamerbaseverbatim.sty	Sun Apr 17 21:46:32 2016
@@ -43,32 +43,27 @@
     \def\beamer@test{#1#2}%
     \ifx\beamer@test\beamer@stopframefirst%
       \let\next=\beamer@framewritten%
-    \else%
+    \else
       \def\beamer@test{#1}%
-      \def\beamer@test@par{\par}%
-      \ifx\beamer@test\beamer@test@par
-        \def\beamer@test{^^J}%
-      \else%
-        \@onelevel@sanitize\beamer@test
-        \edef\beamer@test{\beamer@test\space}%
-        \edef\beamer@test{\expandafter\zap@space\beamer@test\@empty}%
-      \fi
+      \@onelevel@sanitize\beamer@test
+      \edef\beamer@test{\beamer@test\space}%
+      \edef\beamer@test{\expandafter\zap@space\beamer@test\@empty}%
       \@temptokena{#2}%
       \immediate\write\beamer@verbatimfileout{\beamer@test\the\@temptokena}%
        \let\next=\beamer@processframeline%
     \fi%
     \next%
-  }%
+  }
   \long\gdef\beamer@processframeline#1^^M{%
     \def\beamer@test{#1}%
     \ifx\beamer@test\beamer@stopframe%
       \let\next=\beamer@framewritten%
-    \else%
+    \else
       \immediate\write\beamer@verbatimfileout{#1}%
       \let\next=\beamer@processframeline%
     \fi%
     \next%
-  }%
+  }
 }
 
 \def\beamer@setupstoppers#1{%
